<?php
require_once('../phplib/include.inc.php');

class Error extends PageBase{
	public function Ini(){
		if(!isset($_SESSION)) session_start();
		$this->assign('errorinfo',$_SESSION['errorinfo']);
	}
}
$error = new Error("file:".dirname(__FILE__)."/../home/error.tpl.html");
$error->display();
?>